package com.jiantong.work.impl.dao;

import com.jiantong.work.model.ButcherReportCert;
import io.terminus.common.mysql.dao.MyBatisDao;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by mz on 17/5/17.
 *
 */
@Repository
public class ButcherReportCertDao extends MyBatisDao<ButcherReportCert> {

    public List<ButcherReportCert> findListByReportId(Long reportId){

        List<ButcherReportCert> list = getSqlSession().selectList(sqlId("findList"),reportId);

        return list;
    }
}
